import 'package:flutter_test/flutter_test.dart';
import 'package:baidu_face/baidu_face.dart';
import 'package:baidu_face/baidu_face_platform_interface.dart';
import 'package:baidu_face/baidu_face_method_channel.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

class MockBaiduFacePlatform
    with MockPlatformInterfaceMixin
    implements BaiduFacePlatform {

  @override
  Future<String?> getPlatformVersion() => Future.value('42');
}

void main() {
  final BaiduFacePlatform initialPlatform = BaiduFacePlatform.instance;

  test('$MethodChannelBaiduFace is the default instance', () {
    expect(initialPlatform, isInstanceOf<MethodChannelBaiduFace>());
  });

}
